package com.jn.exam.exam.service.impl;

import com.jn.exam.exam.entity.StudentConnection;
import com.jn.exam.exam.mapper.StudentConnectionMapper;
import com.jn.exam.exam.service.StudentConnectionService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * <p>
 * 考试与学生联系表 服务实现类
 * </p>
 *
 * @author 江南大学1033190417
 * @since 2022-03-04
 */
@Service
public class StudentConnectionServiceImpl extends ServiceImpl<StudentConnectionMapper, StudentConnection> implements StudentConnectionService {


    @Override
    public Map<String, Object> getMaxMinAvgScoreOfExam(String examId) {
        return baseMapper.getMaxMinAvgScoreOfExam(examId);
    }
}
